import Vue from 'vue'
import App from './App'
import store from './store'

Vue.config.productionTip = false
App.mpType = 'app'

Vue.prototype.$store = store;
const app = new Vue(App)
app.$mount()

export default {
  // 这个字段走 app.json
  config: {
    // 页面前带有 ^ 符号的，会被编译成首页，其他页面可以选填，我们会自动把 webpack entry 里面的入口页面加进去
    pages: [
      'pages/hot/main',
      'pages/order/main',
      '^pages/index/main'
    ],
    window: {
      backgroundTextStyle: 'light',
      navigationBarBackgroundColor: '#ffffff',
      navigationBarTitleText: '找玩儿网',
      navigationBarTextStyle: 'black',
      // enablePullDownRefresh: true,  //全部刷新
    },
    tabBar: {
      color: "#a4a4a4",
      selectedColor: "#5cd8cd",
      borderStyle :"#000000",
      list: [
        {
          pagePath: "pages/index/main",
          text: "特约商户",
          iconPath: "static/images/1.png",
          selectedIconPath: "static/images/1.1.png"
        },
        {
          pagePath: "pages/hot/main",
          text: "为你推荐",
          iconPath: "static/images/2.png",
          selectedIconPath: "static/images/2.2.png"
        },
        {
          pagePath: "pages/order/main",
          text: "我的订单",
          iconPath: "static/images/3.png",
          selectedIconPath: "static/images/3.3.png"
        }
      ]
    },
    // debug : true
  }
}
